package com.zw.yzk.kabu.data.network.task;

/**
 * Created by zhanwei on 2017/3/12.
 */

public class GoodsOrderTask extends Task {
    public static final int DEFAULT_ORDER_COUNT_PER_PAGE = 10;
    public static final int GOODS_ORDER_ALL = 0;//全部订单
    public static final int GOODS_ORDER_UNPAIED = 1;//待付款
    public static final int GOODS_ORDER_UNDELIVER = 2;//待发货
    public static final int GOODS_ORDER_UNRECEIVE = 3;//待收货
    public static final int GOODS_ORDER_COMPLETE = 4;//已完成
    public static final int GOODS_ORDER_BACK = 5;//退货
    //退货状态
    public static final int REFUND_STATE_REFUNDING = 0;//申请中
    public static final int REFUND_STATE_SUCCESS = 1;//退货成功
    public static final int REFUND_STATE_FAILED = 2;//退货失败

    public int start;
    public int size = DEFAULT_ORDER_COUNT_PER_PAGE;
    public int type;//订单类型：0-全部订单 1-待付款 2-待发货 3-待收货 4-已收货 5-已完成 6-退货,默认是0-全部订单


    public GoodsOrderTask(int start,int type) {
        this.start = start;
        this.type = type;
    }
}
